home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
util
/
misc
/
cbe4a.lha
/
clipboardenhancer
/
arexx
/
PurgeClips.rx
< prev
Wrap
Text File
|
1994-04-15
|
1KB
|
50 lines
/* PurgeClips,rx
* Will delete all files in CLIPS: directory, and then
* update CBE's display. Usable for freeinng disk space
* since clearing a clipboard unit will leave a file
* with an empty IFF structure in the CLIPS directory.
*
* Anthony J. Moringello
* anthonym@alpha1.csd.uwm.edu
*
* Usage:
* rx PurgeClips.rx
*
* CBE ARexx Commands:
* QUIT COPY [key]
* UNITS [units] PASTE [key]
* UP [unit] TOP [unit]
* DOWN [unit] END [unit]
* LOCK [unit] SELECT [unit]
* FREE [unit] VIEW [unit]
* ACTIVE UPDATE
* INACTIVE
* WINDOW <SHOW | HIDE | JUMP>
* CLEAR [unit | FREE | ALL ]
*
* See docs for complete usage description.
*/
options RESULTS
if ~show('L',"rexxsupport.library") then do
if ~addlib('rexxsupport.library',0,-30,0) then do
say 'support library not available'
exit 10
end
end
if ~show('L',"rexxDOSsupport.library") then do
if ~addlib('rexxDOSsupport.library',0,-30,0) then do
say 'support library not available'
exit 10
end
end
clips = showdir( "CLIPS:", "F", ":" )
do forever
parse upper var clips name ':' clips
if name == '' then leave
delete( 'CLIPS:'||name )
end
ADDRESS CBERexx.1 UPDATE